package com.example.day20;

import static java.lang.Character.getName;

/**
 * @author Lenovo
 */
public class ThreadSleep {
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(getName() + ":" + i);
            Thread.sleep(1000);
        }
    }

    public void setName(String 曹操) {
    }

    public void start() {
    }
}
